package com.system.common.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.system.common.pojo.BisNurseProject;
import com.system.common.pojo.BisNurseProjectExample;

public interface BisNurseProjectMapper {
    int countByExample(BisNurseProjectExample example);

    int deleteByExample(BisNurseProjectExample example);

    int deleteByPrimaryKey(String projectId);

    int insert(BisNurseProject record);

    int insertSelective(BisNurseProject record);

    List<BisNurseProject> selectByExampleWithBLOBs(BisNurseProjectExample example);

    List<BisNurseProject> selectByExample(BisNurseProjectExample example);
    
    List<BisNurseProject> selectUserBagProject(Map<String, Object> map);

    List<BisNurseProject> selectUserBagIdProject(String bagId);

    BisNurseProject selectByPrimaryKey(String projectId);

    int updateByExampleSelective(@Param("record") BisNurseProject record, @Param("example") BisNurseProjectExample example);

    int updateByExampleWithBLOBs(@Param("record") BisNurseProject record, @Param("example") BisNurseProjectExample example);

    int updateByExample(@Param("record") BisNurseProject record, @Param("example") BisNurseProjectExample example);

    int updateByPrimaryKeySelective(BisNurseProject record);

    int updateByPrimaryKeyWithBLOBs(BisNurseProject record);

    int updateByPrimaryKey(BisNurseProject record);
    
    List<BisNurseProject> selectByBagId(String bagId);
    
    List<Map<String, Object>> pListAll(Map<String,Object> map);
    
    List<Map<String, Object>> selectByProjectId(String projectId);
    
    String selectByBagIds(String bagId);
}